package org.bud.rung.job;

import org.bud.rung.bit.Job;
import org.bud.rung.bit.JobKit;
import org.springframework.stereotype.Component;

/**
 * @author shaun
 * @date 2024/8/10
 * @instruction
 */
@Component
@JobKit
public class TestJob {
    @Job(value = "hello",cron = "0/15 * * * * *")
    public String hello(){
        return "hello";
    }

    @Job(value = "world",cron = "0 1 * * * *")
    public String world(){
        return "world";
    }
}
